package com.jkwzms.base.price.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.jkwzms.common.entity.BaseOracleEntity;
import com.jkwzms.common.repository.support.annotation.EnableQueryCache;

@Entity
@Table(name = "NBJS_BASE_PRICE")
@EnableQueryCache
@SequenceGenerator(name = "seq", allocationSize = 1, sequenceName = "nbjs_base_jg_seq")
@org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class PriceModel extends BaseOracleEntity<Long> implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    //规格型号
    @Column(name = "ggxh")
    private String ggxh;
    
    //物资名称
    @Column(name = "wzmc")
    private String wzmc;
    
    //类型
    @Column(name = "type")
    private String type;
    
    //山前价格
    @Column(name = "sqprice")
    private String sqprice;
    
    //台盆价格
    @Column(name = "tfprice")
    private String tfprice;
    
    //状态
    @Column(name = "zt")
    private String zt;
    
    //计量单位
    @Column(name = "jldw")
    private String jldw;
    
    //权重
    @Column(name = "weight")
    private String weight;
    
    //备注
    @Column(name = "remark")
    private String remark;
    
    //父id
    @Column(name = "pid")
    private Long pid;

    //创建时间
    @Column(name = "create_time")
    private Date createTime;
    
    public String getGgxh() {
        return ggxh;
    }

    
    public void setGgxh(String ggxh) {
        this.ggxh = ggxh;
    }

    
    public String getWzmc() {
        return wzmc;
    }

    
    public void setWzmc(String wzmc) {
        this.wzmc = wzmc;
    }

    
    public String getType() {
        return type;
    }

    
    public void setType(String type) {
        this.type = type;
    }

    
    public String getSqprice() {
        return sqprice;
    }

    
    public void setSqprice(String sqprice) {
        this.sqprice = sqprice;
    }

    
    public String getTfprice() {
        return tfprice;
    }

    
    public void setTfprice(String tfprice) {
        this.tfprice = tfprice;
    }

    
    public String getZt() {
        return zt;
    }

    
    public void setZt(String zt) {
        this.zt = zt;
    }

    
    public String getJldw() {
        return jldw;
    }

    
    public void setJldw(String jldw) {
        this.jldw = jldw;
    }

    
    public String getWeight() {
        return weight;
    }

    
    public void setWeight(String weight) {
        this.weight = weight;
    }

    
    public String getRemark() {
        return remark;
    }

    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    
}
